home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MATHS / PLPLOT / PLPLOT.ZIP / doc / makefile < prev    next >
Encoding:
Makefile  |  1994-05-11  |  1.5 KB  |  80 lines

  1. #############################################################################
  2. # $Id: makefile,v 1.3 1994/05/11 08:06:52 furnish Exp $
  3. # Makefile for plplot document
  4. #
  5. # Eventually the figure stuff will be converted over to directly import
  6. # postscript files.
  7. #
  8. #############################################################################
  9.  
  10. MAIN = \
  11.     plotdoc.tex \
  12.     chapter1.tex \
  13.     chapter2.tex \
  14.     chapter3.tex \
  15.     chapter4.tex \
  16.     lang.tex \
  17.     dev.tex \
  18.     sys.tex \
  19.     macros.tex
  20.  
  21. SYS = \
  22.     amiga.tex \
  23.     dos.tex \
  24.     dos386.tex \
  25.     linux.tex \
  26.     os2.tex \
  27.     unix.tex \
  28.     vms.tex 
  29.  
  30. FIGS = figpg.tex figs.tex
  31.  
  32. #############################################################################
  33. #
  34. # Targets:
  35. #    all    manual .ps file
  36. #    again    latex it again
  37. #    figs    Just the figure pages
  38. #    clean    cleans up
  39. #
  40. # Default is to build just dvi file since I'm usually in development mode.
  41. #
  42. #############################################################################
  43.  
  44. default: info dvi
  45.  
  46. info:
  47.     emacs -batch -l buildinfo.el
  48.     cp plplot.info $(HOME)/info
  49.     @echo "PLPLOT info file created and moved to info directory."
  50.  
  51. dvi:
  52.     latex plplot.tex
  53.     latex plplot.tex
  54.  
  55. #default:plotdoc.dvi
  56.  
  57. all:    plotdoc.ps
  58.  
  59. plotdoc.ps: plotdoc.dvi
  60.     dvips -o plotdoc.ps plotdoc.dvi
  61.  
  62. plotdoc.dvi: $(MAIN) $(SYS)
  63.     latex plotdoc
  64.     latex plotdoc
  65.  
  66. again:
  67.     latex plotdoc
  68.  
  69. figs:  figpg.ps
  70.  
  71. figpg.ps: figpg.dvi
  72.     dvips -o figpg.ps figpg.dvi
  73.  
  74. figpg.dvi: $(FIGS)
  75.     latex figpg
  76.  
  77. clean:
  78.     -rm -f *~ *.aux *.log *.dvi plotdoc.ps figpg.ps *.blg *.toc
  79.     -rm *.cp plplot.ps plplot.info
  80.